.bcz-helper-export-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.bcz-helper-export-modal {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  width: 320px;
  overflow: hidden;
}

.bcz-helper-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #e5e7eb;
}

.bcz-helper-modal-header h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
}

.bcz-helper-close-button {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #9ca3af;
  padding: 0;
  line-height: 1;
}

.bcz-helper-close-button:hover {
  color: #6b7280;
}

.bcz-helper-modal-body {
  padding: 20px 16px;
}

/* Export Modal Styles */
.bcz-helper-form-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bcz-helper-form-group label {
  font-size: 14px;
  color: #374151;
}

.bcz-helper-form-group select {
  flex-grow: 1;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background-color: #f9fafb;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bcz-helper-form-group select:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 2px #c7d2fe;
}

.bcz-helper-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 12px 16px;
  background-color: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.bcz-helper-cancel-button, .bcz-helper-export-button {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.bcz-helper-cancel-button {
  background-color: #ffffff;
  border-color: #d1d5db;
  color: #374151;
}

.bcz-helper-cancel-button:hover {
  background-color: #f3f4f6;
}

.export-button {
  background-color: #6366f1;
  color: #ffffff;
}

.bcz-helper-export-button:hover {
  background-color: #4f46e5;
}

.bcz-helper-export-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Export Progress Styles */
.bcz-helper-modal-body:has(.progress-container) {
  padding: 24px 16px;
  text-align: center;
}

.bcz-helper-progress-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  height: 10px;
  background-color: #e5e7eb;
  border-radius: 5px;
  overflow: hidden;
}

.bcz-helper-progress-bar {
  height: 100%;
  background-color: #22c55e;
  border-radius: 5px;
  transition: width 0.3s ease-in-out;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(255, 255, 255, 0.2) 0,
    rgba(255, 255, 255, 0.2) 25px,
    transparent 25px,
    transparent 50px
  );
  background-size: 50px 50px;
  animation: bcz-helper-progress-animation 2s linear infinite;
}

.bcz-helper-progress-percentage {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  min-width: 40px;
  text-align: center;
}

@keyframes bcz-helper-progress-animation {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 50px 0;
  }
}

.bcz-helper-warning-text {
  font-size: 12px;
  color: #6b7280;
  margin: 16px 0 0;
}

.bcz-helper-error-message {
  margin-bottom: 16px;
  padding: 8px;
  background-color: #fee2e2;
  color: #dc2626;
  border-radius: 4px;
  font-size: 14px;
  text-align: left;
}